<template>
  <div>
    <h1>使用自定义类过渡动画</h1>
    <button @click="isshow = !isshow">点击吧</button>
    <transition
      name="move"
      enter-active-class="animate__animated animate__bounceInDown animate__faster"
      leave-active-class="animate__animated animate__fadeOutTopLeft "
    >
      <p v-show="isshow">hello</p>
    </transition>
  </div>
</template>

<script>
import "animate.css";
export default {
  data() {
    return {
      isshow: false,
    };
  },
};
</script>

<style lang="less" scoped>
p {
  text-align: center;
  width: 200px;
  background-color: orange;
}
</style>
